package com.ctshk.rpc.bus.dto.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalTime;

/**
 * @author 廖胤松
 * @create 2021-04-28
 */
@Data
@ApiModel(value = "BusProductCacheDTO对象", description = "巴士产品缓存DTO")
public class BusProductCacheDTO implements Serializable {

    @ApiModelProperty(value = "巴士产品id")
    private Long id;

    @ApiModelProperty(value = "巴士路线id")
    private Long lineId;

    @ApiModelProperty(value = "上车站id")
    private Long boardingStationId;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点id")
    private Long alightingStationId;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @ApiModelProperty(value = "出发时间")
    private LocalTime departureTime;

    @ApiModelProperty(value = "推荐状态（1：推荐 2：不推荐）")
    private Integer recommendationStatus;

    @ApiModelProperty(value = "成人价格id")
    private Long adultPriceId;

    @ApiModelProperty(value = "成人价格")
    private BigDecimal adultPrice;

    @ApiModelProperty(value = "小童价格id")
    private Long childrenPriceId;

    @ApiModelProperty(value = "小童价格")
    private BigDecimal childrenPrice;

    @ApiModelProperty(value = "销量")
    private Integer saleCount;

    @ApiModelProperty(value = "座位库存数")
    private Integer inventory;

}
